package com.zbkj.service.settlement;

import java.math.BigDecimal;
import java.math.RoundingMode;

/**
 *
 * @author tianzhonghai
 * 2023/10/15 12:36
 */
public class SettlementUtil {

    /**
     * 佣金金额去尾
     * @param price
     * @return
     */
    public static BigDecimal scale(BigDecimal price) {
        return price.setScale(0, RoundingMode.DOWN);
    }
}
